package com.haole.ecommercepay.transactions.url;

/**
 * @author haole
 */
public class TransactionsUrl {

    /**
     * 合单下单-JS支付
     * POST
     */
    public static final String JSAPI = "/v3/combine-transactions/jsapi";
    /**
     * 合单下单-APP支付
     * POST
     */
    public static final String APP_API = "/v3/combine-transactions/app";
    /**
     * 合单下单-H5支付
     * POST
     */
    public static final String H5_API = "/v3/combine-transactions/h5";
    /**
     * 合单下单-Native支付
     * POST
     */
    public static final String NATIVE_API = "/v3/combine-transactions/native";
    /**
     * 合单查询订单
     * GET https://api.mch.weixin.qq.com/v3/combine-transactions/out-trade-no/{combine_out_trade_no}
     */
    public static final String QUERY_TRANSACTIONS = "/v3/combine-transactions/out-trade-no/%s";
    /**
     * 合单关闭订单
     * POST https://api.mch.weixin.qq.com/v3/combine-transactions/out-trade-no/{combine_out_trade_no}/close
     */
    public static final String CLOSE_TRANSACTIONS = "/v3/combine-transactions/out-trade-no/%s/close";
}
